#ifndef SHOWPATIENT_H
#define SHOWPATIENT_H

#include <QMainWindow>
#include <QString>
#include <illcase.h>
#include "showcase.h"
namespace Ui {
class showPatient;
}

class showPatient : public QMainWindow
{
    Q_OBJECT

public:
    explicit showPatient(QString ID,QWidget *parent = nullptr);
    showPatient(QWidget *parent = nullptr);
    ~showPatient();
    QString id;
    illcases *l;
    illcase list[1000];
    void refresh();
    void setillcases(illcases *ll);
    void setlist(illcase ll[],int num);
    void setcwin(showCase *w);
    void showcase();
    void recnum(int x,int y);
    int selected_case;
    void newcase();
    void del();
    showCase *cwin;
private:
    Ui::showPatient *ui;
};

#endif // SHOWPATIENT_H
